package com.zkt.auth.api;

import com.zkt.auth.entity.AuthUserDTO;
import com.zkt.auth.common.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2025/3/23
 * @description 用户相关feign服务
 **/

@FeignClient("jc-club-auth")
public interface UserFeignService {
	
	@GetMapping("/user/getUserInfo")
	Result<AuthUserDTO> getUserInfo(@RequestParam(value = "username", required = false) String username);
	
}